﻿/* ====================================================================
 *  File  			SysUser.java
 *  Description    	
 *  History      	2013/01/10             
 *           Copyright 2002 Co. All Rights Reserved.
 * ====================================================================
 */
package org.mspring.mlog.entity;

import java.sql.Timestamp;
import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 
 * @author fairchildy    
 * @version    1.0
 */
@Entity
@Table(name = "sysUser")
public class SysUser implements Serializable {

	private static final long serialVersionUID = 1165305903938660552L;
	   
	public SysUser() {
	}


	/**
	 * userId
	 */
	private Long uSER_ID = null;

	/**
	 * lOGIN_NAME
	 */
	private String lOGIN_NAME = null;

	/**
	 * pASSWORD
	 */
	private String pASSWORD = null;

	/**
	 * cREATE_TIME
	 */
	private Timestamp cREATE_TIME = null;

	/**
	 * cONTACT
	 */
	private String cONTACT = null;

	/**
	 * qQ
	 */
	private String qQ = null;

	/**
	 * rEAL_NAME
	 */
	private String rEAL_NAME = null;

	/**
	 * eMAIL
	 */
	private String eMAIL = null;

	/**
	 * zIP
	 */
	private String zIP = null;

	/**
	 * aDDRESS
	 */
	private String aDDRESS = null;

	/**
	 * bIRTHDAY
	 */
	private Timestamp bIRTHDAY = null;

	/**
	 * gENDER
	 */
	private Boolean gENDER = null;

	/**
	 * lAST_LOGIN_TIME
	 */
	private Timestamp lAST_LOGIN_TIME = null;

	/**
	 * lAST_LOGIN_IP
	 */
	private String lAST_LOGIN_IP = null;

	/**
	 * cURRENT_LOGIN_TIME
	 */
	private Timestamp cURRENT_LOGIN_TIME = null;

	/**
	 * cURRENT_LOGIN_IP
	 */
	private String cURRENT_LOGIN_IP = null;

	/**
	 * lOGIN_COUNT
	 */
	private Long lOGIN_COUNT = null;

	/**
	 * sUMMARY
	 */
	private String sUMMARY = null;

	/**
	 * _COMMENT
	 */
	private String _COMMENT = null;

	/**
	 * iS_DISABLED
	 */
	private Boolean iS_DISABLED = null;

    private boolean rememberMe;

	/**
     * @return the rememberMe
     */
    @Transient
    public boolean isRememberMe() {
        return rememberMe;
    }

    /**
     * @param rememberMe
     *            the rememberMe to set
     */
    public void setRememberMe(boolean rememberMe) {
        this.rememberMe = rememberMe;
    }
	/**
	 *
	 * @return uSER_ID
	 */
	public Long getUSER_ID() {
		return this.uSER_ID;
	}

	/**
	 *
	 */
	public void setUSER_ID(Long uSER_ID) {
		this.uSER_ID = uSER_ID;
	}

	/**
	 *
	 * @return lOGIN_NAME
	 */
	public String getLOGIN_NAME() {
		return this.lOGIN_NAME;
	}

	/**
	 *
	 */
	public void setLOGIN_NAME(String lOGIN_NAME) {
		this.lOGIN_NAME = lOGIN_NAME;
	}

	/**
	 *
	 * @return pASSWORD
	 */
	public String getPASSWORD() {
		return this.pASSWORD;
	}

	/**
	 *
	 */
	public void setPASSWORD(String pASSWORD) {
		this.pASSWORD = pASSWORD;
	}

	/**
	 *
	 * @return cREATE_TIME
	 */
	public Timestamp getCREATE_TIME() {
		return this.cREATE_TIME;
	}

	/**
	 *
	 */
	public void setCREATE_TIME(Timestamp cREATE_TIME) {
		this.cREATE_TIME = cREATE_TIME;
	}

	/**
	 *
	 * @return cONTACT
	 */
	public String getCONTACT() {
		return this.cONTACT;
	}

	/**
	 *
	 */
	public void setCONTACT(String cONTACT) {
		this.cONTACT = cONTACT;
	}

	/**
	 *
	 * @return qQ
	 */
	public String getQQ() {
		return this.qQ;
	}

	/**
	 *
	 */
	public void setQQ(String qQ) {
		this.qQ = qQ;
	}

	/**
	 *
	 * @return rEAL_NAME
	 */
	public String getREAL_NAME() {
		return this.rEAL_NAME;
	}

	/**
	 *
	 */
	public void setREAL_NAME(String rEAL_NAME) {
		this.rEAL_NAME = rEAL_NAME;
	}

	/**
	 *
	 * @return eMAIL
	 */
	public String getEMAIL() {
		return this.eMAIL;
	}

	/**
	 *
	 */
	public void setEMAIL(String eMAIL) {
		this.eMAIL = eMAIL;
	}

	/**
	 *
	 * @return zIP
	 */
	public String getZIP() {
		return this.zIP;
	}

	/**
	 *
	 */
	public void setZIP(String zIP) {
		this.zIP = zIP;
	}

	/**
	 *
	 * @return aDDRESS
	 */
	public String getADDRESS() {
		return this.aDDRESS;
	}

	/**
	 *
	 */
	public void setADDRESS(String aDDRESS) {
		this.aDDRESS = aDDRESS;
	}

	/**
	 *
	 * @return bIRTHDAY
	 */
	public Timestamp getBIRTHDAY() {
		return this.bIRTHDAY;
	}

	/**
	 *
	 */
	public void setBIRTHDAY(Timestamp bIRTHDAY) {
		this.bIRTHDAY = bIRTHDAY;
	}

	/**
	 *
	 * @return gENDER
	 */
	public Boolean getGENDER() {
		return this.gENDER;
	}

	/**
	 *
	 */
	public void setGENDER(Boolean gENDER) {
		this.gENDER = gENDER;
	}

	/**
	 *
	 * @return lAST_LOGIN_TIME
	 */
	public Timestamp getLAST_LOGIN_TIME() {
		return this.lAST_LOGIN_TIME;
	}

	/**
	 *
	 */
	public void setLAST_LOGIN_TIME(Timestamp lAST_LOGIN_TIME) {
		this.lAST_LOGIN_TIME = lAST_LOGIN_TIME;
	}

	/**
	 *
	 * @return lAST_LOGIN_IP
	 */
	public String getLAST_LOGIN_IP() {
		return this.lAST_LOGIN_IP;
	}

	/**
	 *
	 */
	public void setLAST_LOGIN_IP(String lAST_LOGIN_IP) {
		this.lAST_LOGIN_IP = lAST_LOGIN_IP;
	}

	/**
	 *
	 * @return cURRENT_LOGIN_TIME
	 */
	public Timestamp getCURRENT_LOGIN_TIME() {
		return this.cURRENT_LOGIN_TIME;
	}

	/**
	 *
	 */
	public void setCURRENT_LOGIN_TIME(Timestamp cURRENT_LOGIN_TIME) {
		this.cURRENT_LOGIN_TIME = cURRENT_LOGIN_TIME;
	}

	/**
	 *
	 * @return cURRENT_LOGIN_IP
	 */
	public String getCURRENT_LOGIN_IP() {
		return this.cURRENT_LOGIN_IP;
	}

	/**
	 *
	 */
	public void setCURRENT_LOGIN_IP(String cURRENT_LOGIN_IP) {
		this.cURRENT_LOGIN_IP = cURRENT_LOGIN_IP;
	}

	/**
	 *
	 * @return lOGIN_COUNT
	 */
	public Long getLOGIN_COUNT() {
		return this.lOGIN_COUNT;
	}

	/**
	 * ����lOGIN_COUNT
	 *
	 * @param �µ�lOGIN_COUNT
	 */
	public void setLOGIN_COUNT(Long lOGIN_COUNT) {
		this.lOGIN_COUNT = lOGIN_COUNT;
	}

	/**
	 * ȡ��sUMMARY
	 *
	 * @return sUMMARY
	 */
	public String getSUMMARY() {
		return this.sUMMARY;
	}

	/**
	 * ����sUMMARY
	 *
	 * @param �µ�sUMMARY
	 */
	public void setSUMMARY(String sUMMARY) {
		this.sUMMARY = sUMMARY;
	}

	/**
	 * ȡ��_COMMENT
	 *
	 * @return _COMMENT
	 */
	public String get_COMMENT() {
		return this._COMMENT;
	}

	/**
	 * ����_COMMENT
	 *
	 * @param �µ�_COMMENT
	 */
	public void set_COMMENT(String _COMMENT) {
		this._COMMENT = _COMMENT;
	}

	/**
	 * ȡ��iS_DISABLED
	 *
	 * @return iS_DISABLED
	 */
	public Boolean getIS_DISABLED() {
		return this.iS_DISABLED;
	}

	/**
	 * ����iS_DISABLED
	 *
	 * @param �µ�iS_DISABLED
	 */
	public void setIS_DISABLED(Boolean iS_DISABLED) {
		this.iS_DISABLED = iS_DISABLED;
	}


	/**
	 * �����õķ����� ���Խ������ֶε��?���?	 *
	 */
	public String toString() {
		StringBuffer sb = new StringBuffer();


		sb.append("uSER_ID:		" + uSER_ID + "\n");
		sb.append("lOGIN_NAME:		" + lOGIN_NAME + "\n");
		sb.append("pASSWORD:		" + pASSWORD + "\n");
		sb.append("cREATE_TIME:		" + cREATE_TIME + "\n");
		sb.append("cONTACT:		" + cONTACT + "\n");
		sb.append("qQ:		" + qQ + "\n");
		sb.append("rEAL_NAME:		" + rEAL_NAME + "\n");
		sb.append("eMAIL:		" + eMAIL + "\n");
		sb.append("zIP:		" + zIP + "\n");
		sb.append("aDDRESS:		" + aDDRESS + "\n");
		sb.append("bIRTHDAY:		" + bIRTHDAY + "\n");
		sb.append("gENDER:		" + gENDER + "\n");
		sb.append("lAST_LOGIN_TIME:		" + lAST_LOGIN_TIME + "\n");
		sb.append("lAST_LOGIN_IP:		" + lAST_LOGIN_IP + "\n");
		sb.append("cURRENT_LOGIN_TIME:		" + cURRENT_LOGIN_TIME + "\n");
		sb.append("cURRENT_LOGIN_IP:		" + cURRENT_LOGIN_IP + "\n");
		sb.append("lOGIN_COUNT:		" + lOGIN_COUNT + "\n");
		sb.append("sUMMARY:		" + sUMMARY + "\n");
		sb.append("_COMMENT:		" + _COMMENT + "\n");
		sb.append("iS_DISABLED:		" + iS_DISABLED + "\n");

		return sb.toString();
	}

}
